import VueRouter from "vue-router";

const routes = [
    
    {
        path:'/',
        name:'MyIndex',
        component:()=>import('../components/sales/MyIndex'),
        children:[
            {
                path:'/',
                name:'user',
                component:()=>import('../components/sales/User.vue')
            },
            
            {
                path:'/test',
                name:'test',
                component:()=>import('../components/sales/Test.vue')
            }
        ]
    }

]

const router = new VueRouter(
    {
        mode:'history',
        routes
    }
)

export default router